package com.example.ruralatour.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangzhen
 * @since 2024-05-16
 */
@ApiModel(value = "Attraction对象", description = "")
public class Attraction implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "attractionId", type = IdType.AUTO)
    private Integer attractionId;

    private String name;

    private String description;

    private String imageUrl;

    private BigDecimal price;

    private Float latitude;

    private Float longitude;

    private Integer deleted;

    private String type;

    public Integer getAttractionId() {
        return attractionId;
    }

    public void setAttractionId(Integer attractionId) {
        this.attractionId = attractionId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }
    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Attraction{" +
            "attractionId=" + attractionId +
            ", name=" + name +
            ", description=" + description +
            ", imageUrl=" + imageUrl +
            ", price=" + price +
            ", latitude=" + latitude +
            ", longitude=" + longitude +
            ", deleted=" + deleted +
            ", type=" + type +
        "}";
    }
}
